package com.inno.life.infra.basic.service;

import com.inno.life.infra.basic.entity.PlannerMomentSensitiveWords;

import java.util.List;

/**
 * (PlannerMomentSensitiveWords)表服务接口
 *
 * @author makejava
 * @since 2024-11-25 21:03:29
 */
public interface PlannerMomentSensitiveWordsService {

    /**
     * 通过ID查询单条数据
     *
     * @param id 主键
     * @return 实例对象
     */
    PlannerMomentSensitiveWords queryById(Long id);


    /**
     * 新增数据
     *
     * @param plannerMomentSensitiveWords 实例对象
     * @return 实例对象
     */
    PlannerMomentSensitiveWords insert(PlannerMomentSensitiveWords plannerMomentSensitiveWords);

    /**
     * 修改数据
     *
     * @param plannerMomentSensitiveWords 实例对象
     * @return 实例对象
     */
    PlannerMomentSensitiveWords update(PlannerMomentSensitiveWords plannerMomentSensitiveWords);

    /**
     * 通过主键删除数据
     *
     * @param id 主键
     * @return 是否成功
     */
    boolean deleteById(Long id);

    List<PlannerMomentSensitiveWords> queryAll();

    long count(PlannerMomentSensitiveWords plannerMomentSensitiveWords);

    List<PlannerMomentSensitiveWords> queryAllByLimit(int page, int pageSize);
}
